Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: implement eq_var in AcirContext to take advantage of optimizations #2379

Closed
wants to merge 3 commits into from

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

This PR inlines GeneratedAcir::is_equal into AcirContext::eq_var and implements it in terms of AcirVars so that we can take advantage of optimisations better.

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench TomAFrench changed the base branch from use-equivalence-from-asserts to master August 20, 2023 20:26
@TomAFrench TomAFrench changed the base branch from master to use-equivalence-from-asserts August 20, 2023 20:39
@TomAFrench TomAFrench changed the base branch from use-equivalence-from-asserts to update-artifacts August 20, 2023 20:39
@TomAFrench TomAFrench changed the base branch from update-artifacts to use-equivalence-from-asserts August 20, 2023 20:41
@TomAFrench
Copy link
Member Author

Unsure whether this does anything past the changes which I broke off into #2380.

@TomAFrench TomAFrench force-pushed the use-equivalence-from-asserts branch from 97456e9 to c66130d Compare August 21, 2023 18:38
@TomAFrench
Copy link
Member Author

Closing as this increases circuit sizes if anything. Can maybe revisit this idea after #2137

@TomAFrench TomAFrench closed this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant